<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : EmpresaCadastrar
    Created on : 12/02/2009, 15:50:39
    Author     : Jaime Junior
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/camposDesabilitados.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script>
               function mascara(o,f){
                  v_obj=o;
                  v_fun=f;
                  setTimeout("execmascara()",1);
               }

               function execmascara(){
                  v_obj.value=v_fun(v_obj.value);
               }

               function cnpj(v){
                  v=v.replace(/\D/g,"");
                  v=v.replace(/^(\d{2})(\d)/,"$1.$2");
                  v=v.replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3");
                  v=v.replace(/\.(\d{3})(\d)/,".$1/$2");
                  v=v.replace(/(\d{4})(\d)/,"$1-$2");
                  return v;
               }
                /*Função que padroniza CEP*/
               function cep(v){
                  v=v.replace(/\D/g,"")
                  v=v.replace(/(\d{5})(\d)/,"$1-$2")
                  return v
               }
               function telefone(v){
                  v=v.replace(/\D/g,"")
                  v=v.replace(/^(\d\d)(\d)/g,"($1) $2")
                  v=v.replace(/(\d{4})(\d)/,"$1-$2")
                  return v
               }

               function hidden(){
                  document.body.style.overflow='hidden';
               }
               function validaNumeros(v){
                  v=v.replace(/\D/g,"");
                  return v;
               }

            </script>
                <title> Gerenciamento de Empresas</title>
            </ice:outputHead>
            <body onload="hidden();">
                <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                    <ice:form id="form1">
                        <ice:panelPopup autoCentre="true" binding="#{Empresas$EmpresaCadastrar.painelSair}" draggable="false" id="painelSair" modal="true"
                            rendered="#{Empresas$EmpresaCadastrar.panelPopup1Bean.showDraggablePanel}"
                            style="height: 210px; left: 816px; right: 200px; top: 144px; bottom: 200px; position: absolute; width: 405px" visible="#{Empresas$EmpresaCadastrar.panelPopup1Bean.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelSairCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgSairTitulo" value="Sair"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelSairCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgPainelSair"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Tem certeza que deseja sair dessa tela?"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoSairSim_action}" id="botaoSairSim"
                                        image="/resources/botaoSim.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 55%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoSairNao_action}" id="botaoSairNao"
                                        image="/resources/botaoNao.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 55%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Empresas$EmpresaCadastrar.painelConsulta}" draggable="false" id="painelConsulta"
                            modal="true" rendered="#{Empresas$EmpresaCadastrar.panelPopup1Bean1.showDraggablePanel}"
                            style="height: 210px; left: 816px; top: 168px; position: absolute; width: 405px" visible="#{Empresas$EmpresaCadastrar.panelPopup1Bean1.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelConsultaCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelConsulta" value="Consulta Empresa"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelConsultaCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgConsultaTitulo"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 0px; position: absolute; text-align: center; width: 357px" value="Digite o nome da Empresa a ser consultada:"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoConsultaOk_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoConsultaOk}" id="botaoConsultaOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 25%; top: 65%; position: absolute" value="Ok"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoConsultaCancelar_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoConsultaCancelar}" id="botaoConsultaCancelar"
                                        image="/resources/botaoCancelar.png" immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 25%; top: 65%; position: absolute" value="Cancelar"/>
                                    <ice:selectInputText binding="#{Empresas$EmpresaCadastrar.campoConsulta}" id="campoConsulta"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 48px; top: 48px; position: absolute"
                                        valueChangeListener="#{Empresas$EmpresaCadastrar.campoConsulta_processValueChange}" width="310">
                                        <f:selectItems id="selectInputText1selectedItems" value="#{Empresas$EmpresaCadastrar.msgPainelConsulta}"/>
                                    </ice:selectInputText>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Empresas$EmpresaCadastrar.painelAviso}" draggable="false" id="painelAviso" modal="true"
                            rendered="#{Empresas$EmpresaCadastrar.panelPopup1Bean1.showDraggablePanel}"
                            style="height: 210px; left: 816px; top: 192px; position: absolute; width: 405px" visible="#{Empresas$EmpresaCadastrar.panelPopup1Bean1.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelAvisoCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelAviso" value="Aviso"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelAvisoCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgAvisoResultado"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Não houve resultado "/>
                                    <ice:outputText id="msgAvisoOperacao"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px" value="Deseja fazer outra consulta?"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoAvisoSim_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoAvisoSim}" id="botaoAvisoSim" image="/resources/botaoSim.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 65%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoAvisoNao_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoAvisoNao}" id="botaoAvisoNao" image="/resources/botaoNao.png" immediate="true"
                                        partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 65%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Empresas$EmpresaCadastrar.painelMensagem}" draggable="false" id="painelMensagem"
                            modal="true" rendered="#{Empresas$EmpresaCadastrar.panelPopup1Bean2.showDraggablePanel}"
                            style="height: 210px; left: 816px; top: 216px; position: absolute; width: 405px" visible="#{Empresas$EmpresaCadastrar.panelPopup1Bean2.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelMensagemCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelMensagem" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelMensagemCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Empresas$EmpresaCadastrar.msgMensagemResultado}" id="msgMensagemResultado" style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; width: 357px"/>
                                    <ice:outputText binding="#{Empresas$EmpresaCadastrar.msgMensagemOperacao}" id="msgMensagemOperacao" style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; width: 357px"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoMensagemOk_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoMensagemOk}" id="botaoMensagemOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelGroup dragListener="#{Empresas$EmpresaCadastrar.painelGeral_processMyEvent}" id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                            <ice:graphicImage id="imagemFundo"
                                style="height: 768px; margin-left: -512px; margin-top: -384px; left: 50%; top: 50%; position: absolute; width: 1024px" value="/resources/Tela%20Empresa.jpg"/>
                            <ice:panelLayout id="painelConteudo" layout="flow" style="font-family: 'Courier New',Courier,monospace; font-size: 14px; height: 620px; left: 2%; top: 12%; position: absolute; width: 980px; -rave-layout: grid">
                                <ice:outputText id="labelNome"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 96px; position: absolute; text-align: right; width: 167px" value="Nome:"/>
                                <ice:outputText id="labelCnpj"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 120px; position: absolute; text-align: right; width: 167px" value="CNPJ:"/>
                                <ice:outputText id="labelIe"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 144px; position: absolute; text-align: right; width: 167px" value="Insc. Est.:"/>
                                <ice:outputText id="labelRazaoSocial"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 168px; position: absolute; text-align: right; width: 167px" value="Razão Social:"/>
                                <ice:outputText id="labelLogradouro"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 192px; position: absolute; text-align: right; width: 167px" value="Logradouro:"/>
                                <ice:outputText id="labelBairro"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 216px; position: absolute; text-align: right; width: 167px" value="Bairro:"/>
                                <ice:outputText id="labelComplemento"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 240px; position: absolute; text-align: right; width: 167px" value="Complemento:"/>
                                <ice:outputText id="labelEstado"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 264px; position: absolute; text-align: right; width: 167px" value="Estado:"/>
                                <ice:outputText id="labelCidade"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 288px; position: absolute; text-align: right; width: 167px" value="Cidade:"/>
                                <ice:outputText id="labelCep"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 312px; position: absolute; text-align: right; width: 167px" value="CEP:"/>
                                <ice:outputText id="labelEmail"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 384px; position: absolute; text-align: right; width: 167px" value="E-mail:"/>
                                <ice:outputText id="labelFax"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 360px; position: absolute; text-align: right; width: 167px" value="Fax:"/>
                                <ice:outputText id="labelTelefone"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 96px; top: 336px; position: absolute; text-align: right; width: 167px" value="Telefone:"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoNome}" id="campoNome" maxlength="200" onkeyup="whichButton(event);"
                                    partialSubmit="true" required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 94px; position: absolute; width: 230px"
                                    title="Digite o nome da Empresa." value="#{Empresa.nome}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.cnpj}" id="cnpj" maxlength="18" onkeypress="mascara(this,cnpj);"
                                    partialSubmit="true" required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 118px; position: absolute; width: 230px"
                                    title="Informe o CNPJ." validator="#{Empresas$EmpresaCadastrar.validateCnpj}" value="#{Empresa.cnpj}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.inscEstadual}" id="inscEstadual" maxlength="16"
                                    onkeypress="mascara(this,validaNumeros);" partialSubmit="true" required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 142px; position: absolute; width: 230px"
                                    title="Informe a Inscrição Estadual." validator="#{Empresas$EmpresaCadastrar.validateCampoUnico}" value="#{Empresa.inscEstadual}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.razaoSocial}" id="razaoSocial" maxlength="200" partialSubmit="true"
                                    required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 166px; position: absolute; width: 230px"
                                    title="Informe a Razão Social da Empresa." validator="#{Empresas$EmpresaCadastrar.validateCampoUnico}" value="#{Empresa.razaoSocial}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoEndereco}" id="campoEndereco" maxlength="300" partialSubmit="true"
                                    required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 190px; position: absolute; width: 230px"
                                    title="Insira o endereço da Empresa (Ex: Rua São Paulo nº 1234)." value="#{Endereco.logradouro}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoBairro}" id="campoBairro" maxlength="200" partialSubmit="true"
                                    required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 214px; position: absolute; width: 230px"
                                    title="Insira o bairro da Empresa (Ex: Centro)." value="#{Endereco.bairro}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoComplemento}" id="campoComplemento" maxlength="200"
                                    partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 238px; position: absolute; width: 230px"
                                    title="Insira um Complemento referente ao Endereço indicado." value="#{Endereco.complemento}"/>
                                <ice:selectOneMenu binding="#{Empresas$EmpresaCadastrar.comboEstado}" id="comboEstado" partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 262px; position: absolute; width: 230px"
                                    title="Selecione o Estado." value="#{Empresas$EmpresaCadastrar.estadoSelecionado.selectedObject}" valueChangeListener="#{Empresas$EmpresaCadastrar.comboEstado_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems" value="#{Empresas$EmpresaCadastrar.estados}"/>
                                </ice:selectOneMenu>
                                <ice:selectOneMenu binding="#{Empresas$EmpresaCadastrar.comboCidade}" id="comboCidade"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 286px; position: absolute; width: 230px"
                                    title="Selecione a Cidade." value="#{Empresas$EmpresaCadastrar.cidadeSelecionada.selectedObject}">
                                    <f:selectItems id="selectOneMenu1selectItems1" value="#{Empresas$EmpresaCadastrar.cidades}"/>
                                </ice:selectOneMenu>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoCep}" id="campoCep" maxlength="9" onkeypress="mascara(this,cep);"
                                    partialSubmit="true" required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 310px; position: absolute; width: 230px"
                                    title="Insira o CEP." value="#{Endereco.cep}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoTelefone}" id="campoTelefone" maxlength="14"
                                    onkeypress="mascara(this,telefone);" partialSubmit="true" required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 334px; position: absolute; width: 230px"
                                    title="Insira o Telefone da Empresa." value="#{Empresa.telefone}"/>
                                <ice:inputText action="#{Empresas$EmpresaCadastrar.campoFax_action}" binding="#{Empresas$EmpresaCadastrar.campoFax}"
                                    id="campoFax" maxlength="14" onkeypress="mascara(this,telefone);" partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 358px; position: absolute; width: 230px"
                                    title="Insira o número de Fax da Empresa." value="#{Empresa.telefoneFax}"/>
                                <ice:inputText binding="#{Empresas$EmpresaCadastrar.campoEmail}" id="campoEmail" maxlength="200" partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 382px; position: absolute; width: 230px"
                                    title="Insira um E-mail referente à Empresa." value="#{Empresa.email}"/>
                                <ice:message errorClass="errorMessage" fatalClass="fatalMessage" for="campoNome" id="msgNome" infoClass="infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 96px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="errorMessage" fatalClass="fatalMessage" for="cnpj" id="msgCnpj" infoClass="infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 120px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="errorMessage" fatalClass="fatalMessage" for="inscEstadual" id="msgIe" infoClass="infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 144px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="errorMessage" fatalClass="fatalMessage" for="campoEndereco" id="msgEndereco" infoClass="infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 192px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="errorMessage" fatalClass="fatalMessage" for="campoCep" id="msgCep" infoClass="infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 312px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="errorMessage" fatalClass="fatalMessage" for="campoTelefone" id="msgTelefone" infoClass="infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 336px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="iceMsgError errorMessage" fatalClass="iceMsgFatal fatalMessage" for="campoBairro" id="msgBairro"
                                    infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 216px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message errorClass="iceMsgError errorMessage" fatalClass="iceMsgFatal fatalMessage" for="razaoSocial" id="msgRazaoSocial"
                                    infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 168px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:panelLayout id="painelOpcoes" layout="flow" style="height: 46px; left: 0px; top: 0px; position: absolute; width: 981px; -rave-layout: grid">
                                    <ice:graphicImage binding="#{Empresas$EmpresaCadastrar.imagemSituacao}" id="imagemSituacao"
                                        style="height: 45px; left: 0px; top: 0px; position: absolute; width: 64px" value="/resources/botaoSituacaoAtivo.png"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoNovo_action}" alt="Novo" id="botaoNovo"
                                        image="/resources/botaoNovo.png" immediate="true"
                                        style="height: 45px; left: 168px; top: 0px; position: absolute; width: 64px" title="Novo" value="Novo"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoConsultar_action}" id="botaoConsultar"
                                        image="/resources/botaoConsultar.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 240px; top: 0px; position: absolute; width: 64px" title="Consultar" value="Consultar"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoAlterar_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoAlterar}" id="botaoAlterar" image="/resources/botaoAlterar.png"
                                        immediate="true" style="height: 45px; left: 312px; top: 0px; position: absolute; width: 64px" title="Alterar" value="Alterar"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoDesativar_action}" alt="desativar"
                                        binding="#{Empresas$EmpresaCadastrar.botaoDesativar}" id="botaoDesativar" image="/resources/botaoInativo.png"
                                        immediate="true" partialSubmit="true" style="height: 45px; left: 384px; top: 0px; position: absolute; width: 64px"
                                        title="Desativar" value="Desativar"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoCadastrar1_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoCadastrar1}" id="botaoCadastrar1" image="/resources/botaoSalvar.png"
                                        style="height: 45px; left: 456px; top: 0px; position: absolute; width: 64px" title="Salvar/Cadastrar" value="Cadastrar"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoImprimir_action}" id="botaoImprimir"
                                        image="/resources/botaoImprimir.png" immediate="true"
                                        style="height: 45px; left: 528px; top: 0px; position: absolute; width: 64px" title="Imprimir" value="Imprimir"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoLimpar_action}"
                                        binding="#{Empresas$EmpresaCadastrar.botaoLimpar}" id="botaoLimpar" image="/resources/botaoLimpar.png" immediate="true"
                                        style="height: 45px; left: 600px; top: 0px; position: absolute; width: 64px" title="Limpar Campos" value="Limpar"/>
                                    <ice:commandButton action="#{Empresas$EmpresaCadastrar.botaoSair_action}" id="botaoSair" image="/resources/botaoSair.png"
                                        immediate="true" partialSubmit="true" style="height: 45px; left: 912px; top: 0px; position: absolute; width: 64px"
                                        title="Sair" value="Sair"/>
                                </ice:panelLayout>
                            </ice:panelLayout>
                        </ice:panelGroup>
                    </ice:form>
                </ice:outputBody>
            </body>
        </ice:outputHtml>
    </f:view>
</jsp:root>
